<?php
/**
 * Descript:
 * User: lufeng501206@gmail.com
 * Date: 2017/3/11 21:21
 */

namespace App\Models\Admin;


use Illuminate\Database\Eloquent\Model;

class Tasks extends Model
{
    protected $table = 'tasks';

    protected $guarded = [];

    public function orders()
    {
        return $this->hasMany('App\Models\Home\Orders','task_id','id');
    }
}